package br.com.vilababy.sigvb.repository;

import java.util.List;

import br.com.vilababy.sigvb.dao.LoginDAO;
import br.com.vilababy.sigvb.dao.SIGVBDAOFactory;
import br.com.vilababy.sigvb.modelo.Login;

public class AutenticacaoRepository extends AbstractSIGVBRepository<Login> {
	
	/**
     * @author Diego Patrick da Silva Santos 
     */
	public AutenticacaoRepository() {
		super(SIGVBDAOFactory.getInstancia().getLoginDAO());
	}

	public Login autenticarBanco(Login login) {
		
		 return ((LoginDAO)getDao()).consultarUsuario(login);
		 
	}

	@Override
	public Login inserir(Login login) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean atualizar(Login login) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean remover(Login login) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public Login get(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Login consultar(Login login) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Login> listar(Login modelo, int primeiroRegistro,
			int totalRegistro) {
		// TODO Auto-generated method stub
		return null;
	}
}
